package com.hscm.boss.common.events.model;

import com.hscm.boss.common.utils.mails.model.MailProperties;
import org.springframework.context.ApplicationEvent;

public class NoticeUserPaymentEvent extends ApplicationEvent {

    //存储邮件信息的属性
    private MailProperties mailProperties;


    public NoticeUserPaymentEvent(Object source) {
        super(source);
    }

    public NoticeUserPaymentEvent(Object source, MailProperties mailProperties) {
        super(source);
        this.mailProperties = mailProperties;
    }

    public MailProperties getMailProperties() {//取到邮件信息
        return mailProperties;
    }
}
